cmake_minimum_required(VERSION 3.15)
project(design_pattern)

set(CMAKE_CXX_STANDARD 14)

include_directories(.)

add_executable(design_pattern
        AbstractFactory.cpp
        Adapter.cpp
        Bridge.cpp
        Builder.cpp
        ChainOfResponsibility.cpp
        CircleQueue.cpp
        CircleQueue.hpp
        Command.cpp
        Composite.cpp
        Decorator.cpp
        Facade.cpp
        FactoryMethod.cpp
        Flyweight.cpp
        Iterator.cpp
        Mediator.cpp
        Memento.cpp
        Observer.cpp
        Prototype.cpp
        Proxy.cpp
        Singleton.cpp
        Singleton1.cpp
        State.cpp
        Strategy.cpp
        TemplateMethod.cpp
        Visitor.cpp)
